Implements an eventable interface for something.
Includes support for bool delegate(T) and void delegate(T).
Will consume a call to all delegates if it returns true. Default false.
Example usage:
mixin Eventing!("onNewListing", ListableObject);
If is(T[0] == typeof(this)) then it'll use this as being the first argument.
Implements an eventable interface for something. Includes support for bool delegate(T) and void delegate(T). Will consume a call to all delegates if it returns true. Default false.
Example usage: mixin Eventing!("onNewListing", ListableObject);
If is(T[0] == typeof(this)) then it'll use this as being the first argument.